package com.jnevision.sysconfig.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 系统配置
 * </p>
 *
 * @author gavin
 * @since 2019-07-14
 */
@TableName("sys_config")
public class Config extends Model<Config> {
    private static final long serialVersionUID = -9164440314636669424L;

    @TableField("name")
    private String name;

    @TableField("value")
    private String value;

    @TableField("description")
    private String description;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "Config{" + "name=" + name + ", value=" + value + ", description=" + description + "}";
    }
}